import { request } from '@/utils/request.js'

// 通过月份来获取该用户当月考勤数据
export function getDate(data){
	return request({
		url:'/userAttendance/searchDate',
		method:'POST',
		data:data
	})
}

// 通过user_attendance_id 来获取当月考勤详情数据
export function getDateInfo(data){
	return request({
		url:'/userAttendance/searchDateInfo',
		method:'POST',
		data
	})
}